package com.apartment.own.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.apartment.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.apartment.common.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 账单详情对象 own_account_details
 * 
 * @author @Dog_E
 * @date 2020-08-28
 */
@Data
@ApiModel("账单详情")
public class OwnAccountDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("id")
    private String id;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    /** 账单类型??? */
    @ApiModelProperty("账单类型???")
    @Excel(name = "账单类型???")
    private Integer paymentTypeName;

    /** 应收账款 */
    @ApiModelProperty("应收账款")
    @Excel(name = "应收账款")
    private BigDecimal receivables;

    /** 剩余账款 */
    @ApiModelProperty("剩余账款")
    @Excel(name = "剩余账款")
    private BigDecimal leftPayment;

    /** 已收账款 */
    @ApiModelProperty("已收账款")
    @Excel(name = "已收账款")
    private BigDecimal receivedPayment;

    /** 账单周期开始时间 */
    @ApiModelProperty("账单周期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "账单周期开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentCycleBegin;

    /** 账单周期结束时间 */
    @ApiModelProperty("账单周期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "账单周期结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentCycleEnd;


}
